-
Home
-
Disco – WooCommerce Dynamic Pricing & Discount Rules Plugin
-
1.2.34
-
Code
-
Classes
- SettingsApi
| Total Complexity |
27 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
251 |
| Lines of code |
153 |
| Logical lines of code |
58 |
| Comment lines |
55 |
| Methods |
9 |
| Properties |
0 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_item_for_response() |
A |
57 |
8 |
16 |
| prepare_item_for_database() |
S |
57 |
6 |
19 |
| update_item() |
S |
57 |
3 |
17 |
| get_item() |
S |
58 |
3 |
16 |
| get_item_schema() |
S |
52 |
2 |
30 |
| register_routes() |
S |
51 |
1 |
36 |
| get_settings() |
S |
63 |
2 |
11 |
| permissions_check() |
S |
80 |
1 |
3 |
| get_collection_params() |
S |
72 |
1 |
5 |